package cn.edu.scau.cmi.yangzemin.composite.safe;

public class SafePerson extends SafeOrganization{
	private String name;
	@Override
	public String getName() {
		return  name;
	}
	@Override
	public void getTeam(int num) {
		String label=null;
		for(int i=0;i<num;i++) {
			label+="  "; 
		}
		System.out.println(label+this.getName());
	}
	public void setName(String name) {
		this.name=name;
	}
}